/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2021-2021. All rights reserved.
 */

package com.huawei.rpc.server.register;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * @Author Lijl
 * @ClassName ServiceObject
 * @Description 服务持有对象，保存具体的服务信息
 * @Date 2022/2/15 15:17
 * @Version 1.0
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
public class ServiceObject {
    /**
     * 服务名称
     */
    private String name;
    /**
     * 服务Class
     */
    private Class<?> clazz;
    /**
     * 具体服务
     */
    private Object obj;
}
